import { post } from '@/utils/ajax'

// 查询列表
export function search(query) {
    return post('/conn/ApiVersion/search', query);
}
// 新增
export function insert(params) {
    return post('/conn/ApiVersion/insert', params);
}
// 删除
export function deleteByIds(ids) {
  return post('/conn/ApiVersion/deleteByIds',{ids});
}
// 更新
export function updateById(params) {
    return post('/conn/ApiVersion/updateRowNotNullById', params);
}
// 根据ID获取
export function selectById(id) {
    return post('/conn/ApiVersion/selectById', { id });
}